﻿picShare.service('pageLocatorSvc', function ($location, $rootScope, safeApply) {
    return {
        goTo: function (strPageName) {
            safeApply($rootScope, function() {
                $location.path(strPageName).replace();
            });
        }
    };
});